package edu.kit.aifb.lidasora.sesame;


import java.util.List;

import org.openrdf.model.URI;
import org.openrdf.model.Value;

public class TypeTest {
    public static void main(String[] args) {
        
        // create a graph with type inferencing
        SimpleGraph g = new SimpleGraph(true); 
        
        // load the film schema and the example data
        g.addFile("film-ontology.owl", SimpleGraph.RDFXML);
        
        List solutions = g.runSPARQL("SELECT ?who WHERE  { " +
          "?who &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#type&gt; &lt;http://semprog.com/film#Person&gt; ." +
                "}");
        System.out.println("SPARQL solutions: " + solutions.toString());
    }
}

